package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-06
 */
@TableName("ITEM_GROUP_MEMBER")
public class ItemGroupMember extends Model<ItemGroupMember> {

    private static final long serialVersionUID = 1L;

   @TableField("HANDLE")
   private String handle;
   @TableField("ITEM_GROUP_BO")
   private String itemGroupBo;
   @TableField("ITEM_BO")
   private String itemBo;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getItemGroupBo() {
      return itemGroupBo;
   }

   public void setItemGroupBo(String itemGroupBo) {
      this.itemGroupBo = itemGroupBo;
   }

   public String getItemBo() {
      return itemBo;
   }

   public void setItemBo(String itemBo) {
      this.itemBo = itemBo;
   }

   public static final String HANDLE = "HANDLE";

   public static final String ITEM_GROUP_BO = "ITEM_GROUP_BO";

   public static final String ITEM_BO = "ITEM_BO";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "ItemGroupMember{" +
         "handle = " + handle +
         ", itemGroupBo = " + itemGroupBo +
         ", itemBo = " + itemBo +
         "}";
   }
}